package com.msb.mall.core.dao.product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.msb.mall.core.entity.product.AttrGroupEntity;
import com.msb.mall.core.vo.product.SpuItemGroupAttrVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 * 
 * @author leixu
 * @email xuleiwolf@163.com
 * @date 2024-04-19 10:08:56
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SpuItemGroupAttrVo> getAttrgroupWithSpuId(@Param("spuId") Long spuId,
                                                   @Param("catalogId") Long catalogId);

}
